/* SPDX-FileCopyrightText: © 2024 Decompollaborate */
/* SPDX-License-Identifier: MIT */

/*
    31--------26-25------21 -------------------------7-6---4--------0
    |  = COP2   |  MFHC2  |                         |1|1 1 1|  fmt  |
    ------6----------5-------------------------------1---3------4----
    |--000--|--001--|--010--|--011--|--100--|--101--|--110--|--111--| lo
  0 | ---   | ---   | ---   | ---   | ---   | ---   | ---   | ---   |
  1 | ---   | ---   | ---   | ---   | ---   | ---   | ---   | vsync2|
 hi |-------|-------|-------|-------|-------|-------|-------|-------|
*/

/*
vsync2
    31--------26-25-----21---------------------------7-6---4-3------0
    |    COP2   |0 0 0 1 1|                         |1|1 1 1|1 1 1 1|
    ------6----------5---------5---------------------1---3------4----
*/

    RABBITIZER_DEF_INSTR_ID(
        r4000allegrex, 0xF, vsync2,
        .operands={0},
        .instrType=RABBITIZER_INSTR_TYPE_R
    ) // SYNChronize2
